<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>自定义属性</title>
    <style>
        *{margin: 0;padding: 0;list-style-type: none;;}
    </style>
</head>
<body>
    <div>

    </div>
    <script>
        let oDiv = document.querySelector("div")

        /*
            自定义属性：
        */
       oDiv.luoli = "洛璃"
       setTimeout(() =>{
        console.log(oDiv.luoli);
        
       },1000)
    </script>
</body>
</html>